#include "Player.h"

Player::Player()
{
    //ctor

    //Set Initial Position
    //Doesn't check if in bounds.
    dstrect.x = 10;
    dstrect.y = 10;
    dstrect.w = 100;
    dstrect.h = 100;


    //Load Sprite
    sprite = SDL_LoadBMP("cb.bmp");
}

Player::~Player()
{
    //dtor
}

void Player::Move() {

//Do Fancy Math Stuff
 dstrect.x += 10;
}

void Player::Draw(SDL_Surface* screen) {
//Draw on screen
    SDL_BlitSurface(sprite, 0, screen, &dstrect);

}


